package org.mtmi.ui.controls;


/**
 * Interface for graphic controls that have touchable capabilities.
 * 
 * @author jgout
 */
public interface ITouchableControl extends IVisualControl {

	/**
	 * Check if the control contains the given point.<p>
	 * <b>note</b> This method may be called on non UI Thread, a gc is available but only method
	 * that does not check UI thread should be used.
	 * <p>
	 * ( path.contains( int, int, gc, boolean ), seems to be a thread free method ... good news guys! ).
	 * @param e  touch event data.
	 */
	boolean containsTouch( TouchControlEvent e );
}
